package com.ntschy.bt.entity.mapstruct;

import com.ntschy.bt.entity.dataobject.BtHelp.BtHelp;
import com.ntschy.bt.entity.dto.BtHelpDTO.InputDTO.BtHelpInputDTO;
import com.ntschy.bt.entity.dto.BtHelpDTO.InputDTO.BtHelpInputPageDTO;
import com.ntschy.bt.entity.dto.BtHelpDTO.ReplyDTO.BtHelpReplyDTO;
import com.ntschy.bt.entity.dto.BtHelpDTO.ReplyDTO.BtHelpReplyPageDTO;
import com.ntschy.bt.entity.vo.BtHelp.Input.BtHelpInputDetialsVO;
import com.ntschy.bt.entity.vo.BtHelp.Input.BtHelpInputPageVO;
import com.ntschy.bt.entity.vo.BtHelp.Reply.BtHelpReplyDetialsVO;
import com.ntschy.bt.entity.vo.BtHelp.Reply.BtHelpReplyPageVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface BtHelpInputMapstruct  {

    BtHelpInputMapstruct BT_HELP_INPUT_MAP_STRUCT = Mappers.getMapper(BtHelpInputMapstruct.class);

    /**
     * 分页查询类转换
     *
     * @param pageDTO 分页查询条件
     * @return BtHelp
     */
    BtHelp pagetableDto(BtHelpInputPageDTO pageDTO);


    /**
     * 响应分页的数据类型
     *
     * @param btHelpList
     * @return List<BtHelpReplyPageVO>
     */
    List<BtHelpInputPageVO> pagePustrespone(List<BtHelp> btHelpList);



    /**
     * bthelp  转  BtHelpReplyDetialsVO
     *主表     转   结果录入详情
     * @param btHelp
     * @return
     */
    BtHelpInputDetialsVO bthelp_CHANGE_inputdetialsvo(BtHelp btHelp);


    /**
     * btHelpInputDTO  转  BtHelp
     *
     * @param btHelpInputDTO
     * @return
     */
    BtHelp btHelpInputDTO_CHANGE_BtHelp(BtHelpInputDTO btHelpInputDTO);


}
